﻿using Inovout.Gis.Geometry;
using System.Collections.Generic;
using Inovout.Land;
using System.Linq;

namespace Inovout.Gis.Land
{
    public class TuBanPointLayer : TuBanGeometryLayer
    {
        public TuBanPointLayer(IGeometryLayerInfo layerInfo) :
            base(layerInfo)
        {
        }
        public IEnumerable<TuBanPoint> Points
        {
            get { return base.Geometries.Cast<TuBanPoint>(); }
        }

        //internal List<FLMJX> GetDLMJXs()
        //{
        //    double mj = 0;
        //    foreach (var point in Points)
        //    {
        //        string dl = point.DLCode;
        //        mj = +point.Area;
        //    }
        //    return null;
        //}
    }
}
